package com.jims.master.modules.csm.dao; /**
 * jims
 */

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.csm.entity.ExpClassDict;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 消耗品类别字典DAO接口
 *
 * @author fengyg
 * @version 2017-05-04
 */
@MyBatisDao
public interface ExpClassDictDao extends CrudDao<ExpClassDict> {

    public List<ExpClassDict> validUnique(ExpClassDict expClassDict);

    /**
     * 根据父级ID查询
     *
     * @param parentId
     * @return
     */
    public int findByParentId(@Param("parentId") String parentId);
}